package com.maxiaoke.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

@SpringBootConfiguration
@EnableAutoConfiguration
@ComponentScan("com.maxiaoke.boot")
@MapperScan("com.maxiaoke.boot.mapper")
public class MainApplication {

    //主方法
    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }
}
